home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 10056 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: tank.news.pipex.net!pipex!warwick!bham!bhamcs!news
  2. From: "Tom (Ghoti) Kermode" <txk@cs.bham.ac.uk>
  3. Newsgroups: comp.unix.questions,comp.lang.c
  4. Subject: Re: Bold ASCII
  5. Date: Fri, 15 Mar 1996 10:52:41 +0000
  6. Organization: Not relevant - too disorganiSed
  7. Message-ID: <31494BF9.1654@cs.bham.ac.uk>
  8. References: <4i7cpj$hqa@nexen.nexen.com>
  9. NNTP-Posting-Host: gromit.cs.bham.ac.uk
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0 (X11; I; SunOS 5.4 sun4m)
  14.  
  15. Matthew B. Doar wrote:
  16. > Anyone know how to get bold strings of text
  17. > from a program (termcap related?)
  18. > e.g.
  19. > printf("\012 This is in bold \013\n");
  20. > where \012 and \013 are whatever the magic ascii values
  21. > are to turn on and off bold.
  22. > ~Matt
  23.  
  24. The ascii values are \033[1m to turn bold on and \033[0m to turn it off.
  25. (out of interest)
  26.  
  27. Tom
  28.  
  29.  
  30. [ Tom Kermode                                   Email: txk@cs.bham.ac.uk      ]
  31. [ UK based home page available at...            http://www.cs.bham.ac.uk/~txk ]
  32. [ US based home page available at...            http://www.tripod.com/~ghoti  ]
  33.